using System.Collections.Generic;
using LitJson;

namespace abilities.targets
{
    public class TargetSelf : Target
    {
        public override bool FromJson(JsonData value)
        {
            return true;
        }

        public override List<TargetObject> GetTargets(AbilityContext context)
        {
            List<TargetObject> result = new List<TargetObject>();
            result.Add(new TargetObject(context.AbilityManager.Owner));
            return result;
        }
    }
}